<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="/css/app.css">
</head>
<body>
    <div class="hero-list">
        <% for(let i = 0; i<heros.length;i++){ %>
            <div class="item">
                <img src="<%=heros[i].avatar%>" alt="">
                <p><%= heros[i].title%></p>
            </div>
        <% } %>

        <!-- <% heros.forEach(item=>{ %>
            <div><%=item.title%></div>
        <% }) %> -->
    </div>
</body>
</html>